home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zgeequ.z / zgeequ
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))                                                          ZZZZGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZGEEQU - compute row and column scalings intended to equilibrate an M-
  10.      by-N matrix A and reduce its condition number
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZGEEQU( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, INFO )
  14.  
  15.          INTEGER        INFO, LDA, M, N
  16.  
  17.          DOUBLE         PRECISION AMAX, COLCND, ROWCND
  18.  
  19.          DOUBLE         PRECISION C( * ), R( * )
  20.  
  21.          COMPLEX*16     A( LDA, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      ZGEEQU computes row and column scalings intended to equilibrate an M-by-N
  38.      matrix A and reduce its condition number. R returns the row scale factors
  39.      and C the column scale factors, chosen to try to make the largest element
  40.      in each row and column of the matrix B with elements
  41.      B(i,j)=R(i)*A(i,j)*C(j) have absolute value 1.
  42.  
  43.      R(i) and C(j) are restricted to be between SMLNUM = smallest safe number
  44.      and BIGNUM = largest safe number.  Use of these scaling factors is not
  45.      guaranteed to reduce the condition number of A but works well in
  46.      practice.
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      M       (input) INTEGER
  51.              The number of rows of the matrix A.  M >= 0.
  52.  
  53.      N       (input) INTEGER
  54.              The number of columns of the matrix A.  N >= 0.
  55.  
  56.      A       (input) COMPLEX*16 array, dimension (LDA,N)
  57.              The M-by-N matrix whose equilibration factors are to be computed.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))                                                          ZZZZGGGGEEEEEEEEQQQQUUUU((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The leading dimension of the array A.  LDA >= max(1,M).
  76.  
  77.      R       (output) DOUBLE PRECISION array, dimension (M)
  78.              If INFO = 0 or INFO > M, R contains the row scale factors for A.
  79.  
  80.      C       (output) DOUBLE PRECISION array, dimension (N)
  81.              If INFO = 0,  C contains the column scale factors for A.
  82.  
  83.      ROWCND  (output) DOUBLE PRECISION
  84.              If INFO = 0 or INFO > M, ROWCND contains the ratio of the
  85.              smallest R(i) to the largest R(i).  If ROWCND >= 0.1 and AMAX is
  86.              neither too large nor too small, it is not worth scaling by R.
  87.  
  88.      COLCND  (output) DOUBLE PRECISION
  89.              If INFO = 0, COLCND contains the ratio of the smallest C(i) to
  90.              the largest C(i).  If COLCND >= 0.1, it is not worth scaling by
  91.              C.
  92.  
  93.      AMAX    (output) DOUBLE PRECISION
  94.              Absolute value of largest matrix element.  If AMAX is very close
  95.              to overflow or very close to underflow, the matrix should be
  96.              scaled.
  97.  
  98.      INFO    (output) INTEGER
  99.              = 0:  successful exit
  100.              < 0:  if INFO = -i, the i-th argument had an illegal value
  101.              > 0:  if INFO = i,  and i is
  102.              <= M:  the i-th row of A is exactly zero
  103.              >  M:  the (i-M)-th column of A is exactly zero
  104.  
  105. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  106.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  107.  
  108.      This man page is available only online.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.